<template>
    <div class="share-wechat-box" @click="destroyxx">
        <img src="../../assets/img/share-wechat.png" alt="" >
    </div>
</template>
<script>
export default {
    methods: {
        destroyxx() {
            this.$emit('destroyF');
            console.log(11111);
        }
    }
} 
</script>
<style lang="less">
    .share-wechat-box {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 123;
        img {
            width: 5.1rem;
            position: absolute;
            right: 1.18rem;
            top: 0.2rem;
        }
    }
</style>
